package cn.zhejianglao.oss.config;


import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "host")
@Data
public class HostProperties {

    private String protocol;

    private String domainName;

    private String path;

    @Override
    public String toString() {
        return protocol + domainName + path;
    }
}
